﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace DataBase.From {

	[JsonObject(MemberSerialization.OptIn), Table(Name = "t_YGHLdata", DisableSyncStructure = true)]
	public partial class TYGHLdata {

		[JsonProperty, Column(IsPrimary = true, IsIdentity = true)]
		public long Id { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? A1Volt { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? A2Volt { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? B1Volt { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? B2Volt { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? BeiFen1 { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? BeiFen2 { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? BeiFen3 { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? BeiFen4 { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? BeiFen5 { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? BeiFen6 { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? BeiFen7 { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? BeiFen8 { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? C1Volt { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? C2Volt { get; set; }

		[JsonProperty]
		public DateTime? CreateTime { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? D1Volt { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? D2Volt { get; set; }

		[JsonProperty, Column(Name = "deviceId")]
		public long? DeviceId { get; set; }

		[JsonProperty, Column(StringLength = 10)]
		public string Software { get; set; }

		[JsonProperty, Column(StringLength = 10)]
		public string TerminalId { get; set; }

		[JsonProperty]
		public DateTime? Time { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? Voltage1 { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? Voltage2 { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? Voltage3 { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? Voltage4 { get; set; }

	}

}
